.yg-detail {
  background-color: white;
  height: 100vh;

  .goodDetail-nav {
    background: var(--themeColor);
    color: #fff;

    .am-navbar-title {
      color: #fff;
    }
  }

  .yg-detail-swiper {
    width: 100%;
    height: 6.666667rem;
    background: #fff;

    .imageWrapper {
      width: 100%;
      height: 6.666667rem !important;

      img {
        width: 100%;
        height: 100%;

      }
    }
  }

  .yg-detail-price {
    margin-top: 0.266667rem;
    display: flex;
    padding: 0 0.213333rem;
    justify-content: space-between;

    .price-left {
      span.price-title {
        font-size: 0.533333rem;
        color: var(--themeColor);

      }
    }

    .price-right {

      .icon-fenxiang {
        font-size: 0.533333rem;
        margin-right: 0.4rem;
      }

      .icon-shoucang {
        font-size: 0.533333rem;
      }
      .active{
        color: var(--themeColor);
      }
    }
  }

  .yg-detail-title {
    height: 1.066667rem;
    padding: 0 0.2666667rem;
    font-size: 0.373333rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-top: 0.133333rem;
    line-height: 0.533333rem;
  }

  .yg-detail-richtext {
    margin-top: 0.266667rem;
    margin-bottom: 1.333333rem;

    .richtext-title {
      font-size: 0.426667rem;
      text-align: center;
      height: 0.8rem;
      line-height: 0.8rem;
    }
  }


  .yg-detail-bottom {
    border-top: 1px solid #ccc;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    background-color: #fff;
    height: 1.333333rem;
    width: 100%;

    .bottom-contact {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .iconfont.icon-lianxikefu {}

      .title {}
    }

    .bottom-cart {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;

      .iconfont.icon-gouwuche {}

      .title {}
    }

    .bottom-addCart {
      flex: 2;
      display: flex;
      align-items: center;
      justify-content: center;

      .title1 {
        border-radius: 0.533333rem;
        height: 0.8rem;
        text-align: center;
        line-height: 0.8rem;
        width: 2.933333rem;
        background-color: #fcaa23;
        color: white;
      }
    }

    .bottom-buy {
      flex: 2;
      display: flex;
      align-items: center;
      justify-content: center;
      .title2 {
        border-radius: 0.533333rem;
        height: 0.8rem;
        text-align: center;
        line-height: 0.8rem;
        width: 2.933333rem;
        background-color: var(--themeColor);
        color: white;
      }
    }
  }
}